cmake_minimum_required(VERSION 3.8)
project(CDataStruct)

set(CMAKE_C_STANDARD 99)

set(SOURCE_FILES main.c base/point.c base/point.h base/array.c base/advance_point.c base/main.c shanghaiJD/firstJob/program.c base/string.c
        base/struct.c base/struct1.c base/union.c dataStruct/stack/stack.c shanghaiJD/secondJob/msg.h shanghaiJD/secondJob/msg.c
        shanghaiJD/secondJob/msgServer.c shanghaiJD/secondJob/ipc.c
        shanghaiJD/thirdJob/read_write_copy.c shanghaiJD/thirdJob/fread_fwrite_copy.c shanghaiJD/thirdJob/not_name_pipe.c shanghaiJD/thirdJob/name_pipe.c shanghaiJD/forthJob/socket_server.c shanghaiJD/forthJob/socket_client.c shanghaiJD/forthJob/shell_test/test.c shanghaiJD/forthJob/shell_test/test2.c)
add_executable(CDataStruct ${SOURCE_FILES})